MongoCursor
PHP Manual

MongoCursor::getNext

(PECL mongo >=0.9.0)

MongoCursor::getNextReturn the next object to which this cursor points, and advance the cursor

Descripción

public array MongoCursor::getNext ( void )

Lista de parámetros

This function has no parameters.

Valores retornados

Returns the next object.


MongoCursor
PHP Manual